package org.ccu.eshop.service.impl;

import org.ccu.eshop.dao.MemberDao;
import org.ccu.eshop.domain.dto.MemberVo;
import org.ccu.eshop.service.MemberServiceItface;

public class MemberServiceimpl implements MemberServiceItface {
    MemberDao memberDao=new MemberDao();
    @Override
    public MemberVo login(String loginName, String loginPwd) {
        MemberVo dto=new MemberVo();
        dto.setLoginName(loginName);
        dto.setLoginPwd(loginPwd);
        return memberDao.selectMemberByLoginNameAndPwd(dto);
    }
}
